<h2>Why is this an issue?</h2>
<p>Shared naming conventions allow teams to collaborate efficiently.</p>
<p>This rule raises an issue when a function or a method name does not match a provided regular expression.</p>
<p>For example, with the default regular expression <code>^[a-z][a-zA-Z0-9]*$</code>, the function:</p>
<pre>
function DoSomething(){...}  // Noncompliant
</pre>
<p>should be renamed to</p>
<pre>
function doSomething(){...}
</pre>
<h3>Exceptions</h3>
<p>This rule ignores React Functional Components, JavaScript functions named with a capital letter and returning a React element (JSX syntax).</p>
<pre>
function Welcome() { // Compliant by exception
  const greeting = 'Hello, World!';

  // ...

  return (
    &lt;div className="Welcome"&gt;
      &lt;p&gt;{greeting}&lt;/p&gt;
    &lt;/div&gt;
  );
}
</pre>
